package Test;

import junit.framework.TestSuite;
import junit.framework.Test;

/**
 * This class is the SuiteTest for Trail Maintenance System Test cases
 * 
 * @author Minh Thai
 *
 */
public class JUnitSuite {
	
	/**
	 * Constructor for Test Suite
	 * 
	 * @return Test Suite
	 */
	public static Test suite() {
		TestSuite suite = new TestSuite();
		//add AccountsTest
		suite.addTestSuite(AccountsTest.class);
		//add Job Test
		suite.addTestSuite(JobTest.class);
		//add LMATest
		suite.addTestSuite(LMATest.class);
		//add SchedulerTest
		suite.addTestSuite(SchedulerTest.class);
		//add ScheduleTest
		suite.addTestSuite(ScheduleTest.class);
		//add VolunteerTest
		suite.addTestSuite(VolunteerTest.class);
		//add WTAActionTest
		suite.addTestSuite(WTAActionTest.class);
		return suite;
	}
	
	/**
	 * Main to run Test Suite 
	 * 
	 * @param args the Arguments
	 */
	public static void main(String[] args) {
		//Run the SuiteTest
		junit.textui.TestRunner.run(suite());
	}
	
}
